package ynu.elm.service;


import ynu.elm.entity.OrderCreationRequest;
import ynu.elm.entity.Orders;
import java.util.List;

public interface OrdersService {

    int createOrders(OrderCreationRequest request);

    Orders getOrdersById(Integer OrderId);

    List<Orders> listOrdersByUserId(String userId);

    int updateOrder(Orders orders);
}